import Layout from '@/views/layout/Layout';

const _import = require('@/router/_import_' + process.env.NODE_ENV);

export default {
  path: '/system/monitor',
  component: Layout,
  name: '监控模块管理',
  icon: 'setting',
  authority: 'monitorManager',
  children: [{
    path: 'serviceEureka',
    component: _import('manage/monitor/eureka/index'),
    name: 'Eureka注册中心',
    authority: 'serviceEurekaManager'
  }, {
    path: 'serviceMonitor',
    component: _import('manage/monitor/service/index'),
    name: '服务状态监控',
    authority: 'serviceMonitorManager'
  }, {
    path: 'serviceZipkin',
    component: _import('manage/monitor/zipkin/index'),
    name: '服务链路监控',
    authority: 'serviceZipkinManager'
  }]
}
